package com.example.demo43authenticationmanager.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @GetMapping("/foo/hello")
    public String hello2() {
        return "foo hello";
    }

    @GetMapping("/bar/hello")
    public String hello3() {
        return "bar hello";
    }

}
